package cn.iocoder.yudao.module.ems.controller.admin.store.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;

/**
* 仓库 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class StoreBaseVO {

    @ApiModelProperty(value = "仓库名称", required = true, example = "仓库1")
    @NotNull(message = "仓库名称不能为空")
    private String name;

    @ApiModelProperty(value = "父仓库id", required = true, example = "0")
    @NotNull(message = "父仓库id不能为空")
    private Long parentId;

    @ApiModelProperty(value = "显示顺序", required = true, example = "0")
    @NotNull(message = "显示顺序不能为空")
    private Integer sort;

    @ApiModelProperty(value = "负责人", example = "1")
    private Long leaderUserId;

    @ApiModelProperty(value = "仓库电话")
    private String phone;

    @ApiModelProperty(value = "仓库状态", required = true, example = "0")
    @NotNull(message = "仓库状态不能为空")
    private Integer status;

    @ApiModelProperty(value = "描述")
    private String remarks;

}
